package cn.dglydrpy.study.spring.ioc.xml;

import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.util.Map;
import java.util.Properties;

/*
 * @Description:演示不同数据类型在spring中xml注入方法 
 * @author:dglydrpy
 * @date:2019年4月16日 下午11:14:20 
 * @version:1.0
 */
public class DiffTypeDataBean implements Serializable{
	
	private static final long serialVersionUID = 1L;
	
	private int times;
	private String name;
	private double price;
	private Date date;
	private List<String> list;
	private String phone = "110";
	private Map<String, Integer> map;
	private Properties prop;
	
	public int getTimes() {
		return times;
	}
	public void setTimes(int times) {
		this.times = times;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public java.util.Date getDate() {
		return date;
	}
	public void setDate(java.util.Date date) {
		this.date = date;
	}
	public List<String> getList() {
		return list;
	}
	public void setList(List<String> list) {
		this.list = list;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public Map<String, Integer> getMap() {
		return map;
	}
	public void setMap(Map<String, Integer> map) {
		this.map = map;
	}
	public Properties getProp() {
		return prop;
	}
	public void setProp(Properties prop) {
		this.prop = prop;
	}
	@Override
	public String toString() {
		return "DiffTypeDataBean [times=" + times + ", name=" + name + ", price=" + price + ", date=" + date + ", list="
				+ list + ", phone=" + phone + ", map=" + map + ", prop=" + prop + "]";
	}
}
